﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RemoteController
{
    public class DVDOnCommand : Command
    {

  		DVD dvd;

		public DVDOnCommand(DVD dvd)
		{
			this.dvd = dvd;
		}

		#region Command Members

		public object Execute()
		{
			return dvd.On();
		}
		
		public object Undo()
		{
			return dvd.Off();
		}

		#endregion
	}
}
